package com.opo5.logisticsmanagement.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.opo5.logisticsmanagement.common.R;
import com.opo5.logisticsmanagement.domain.Department;

import java.util.List;

/**
* @author lixin
* @description 针对表【tbs_department】的数据库操作Service
* @createDate 2022-07-10 08:57:37
*/
public interface DepartmentService extends IService<Department> {

    R getDeptByCondition(String departmentname, Integer currentPage, Integer pageSize);

    R getUserById(Integer id);

    R addDept(Department department);

    R editDept(Department department);

    R delDept(Integer[] ids);

    List<Department> getDeptAll();
}
